body {
  background: rgb(132, 249, 249)!important;
}

#SAO-ranklist{
  font-family: "SAOUI";
  left: calc(50% - 250px);
  top: calc(50% - 200px);
  height: auto;
  width: 500px;
  background: rgba(46, 40, 28,0.5);
  display: none;
  position: fixed;
  border-top-left-radius: 20px;
  border-bottom-right-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.5);
}
.ranklist-title{
  text-shadow: 0px 1px 5px rgba(80, 80, 80, 0.8);
  height: 30px;
  width: 100%;
  background: transparent;
  color: white;
  display: block;
  text-align: center;
  margin-bottom: 15px;
}
.ranklist-title::after{
  content: "";
  height: 2px;
  width: 90%;
  margin-left: 5%;
  background: #fff;
  display: block;
}

.ranklist-main{
  height: auto;
  overflow: scroll;
  background: transparent;
}
.master-item{
  height: 40px;
  width: 90%;
  margin-inline: 5%;
  margin-top: 5px;
  margin-bottom: 0;
  background: transparent;
  display: inline-block;
  float: left;
  padding: 0;
}
.master-rank{
    float: left;
    display: inline-block;
    height: 100%;
    width: 22PX;
    background: transparent;
    border-top:11px solid rgba(240, 240, 240, 0.7);
    border-right:10px solid rgba(240, 240, 240, 0.7);
    border-bottom:11px solid rgba(240, 240, 240, 0.7);
    margin-right: 3px;
}
.master-item i:hover{
  transform: rotateZ(45deg);
}
.master-rank i{
    color: black;
    float: left;
    display: inline-block;
    width:16px;
    height: 16px;
    text-align: center;
    border-radius: 2px;
    left:-6px;
    top: 0.5px;
    position: relative;
    padding: 1px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.9);
}

.master-user{
  color: white;
  display: inline-block;
  height: 40px;
  width: 40px;
  background: rgba(240, 240, 240, 0.7);
  text-align: center;
  float: left;
  padding-top: 2.5px;
  padding: 3px;
  text-shadow: 0px 1px 5px rgba(80, 80, 80, 0.7);
}
.master-user a{
  color: white;
}
.master-user a:hover{
  color: #1E9600;
}
.master-user::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  position: relative;
  top: -35px;
  left: 37px;
  border-width: 37.5px 22px 0px 0px;
  border-style:  solid solid none;
  border-color: rgba(240, 240, 240, 0.7) transparent transparent ;
}

.master-data{
  float: left;
  display: inline-block;
  height: 40px;
  width: 80%;
  margin-left: 10px;
  background: rgba(240, 240, 240, 0.7);
  transform: skewX(-30deg);
}
.master-level{
  display: block;
  position: relative;
  float:right;
  text-align: center;
  top: -20px;
  width: 33%;
  height: 30px;
  font-size: 14px;
  left: -2%;
  color: white;
  background: rgba(200, 200, 200, 0.9);
  border-radius: 3px;
  border: 3px solid rgba(80,80,80,0.3);
}
.master-level span{
  margin-inline: 2px;
  text-shadow: 0px 1px 5px rgba(80, 80, 80, 0.8);
}
.master-HP{
  height: 25px;
  width: 95%;
  float: left;
  margin: auto;
  background: transparent;
  margin-top: 6px;
  box-shadow: 2px 2px 10px #fff;
  border: 1px solid rgba(255,255,255,0.5);
  overflow: hidden;
  margin-left: 2px;
}
.partner-item{
  height: 40px;
  width: 90%;
  margin-inline: 5%;
  margin-top: 5px;
  margin-bottom: 0;
  background: transparent;
  display: inline-block;
  float: left;
  padding: 0;
}
.partner-item:last-child{
  margin-bottom: 25px;
}
.partner-rank{
    float: left;
    display: inline-block;
    height: 100%;
    width: 22PX;
    background: transparent;
    border-top:11px solid rgba(220, 220, 220, 0.7);
    border-right:10px solid rgba(220, 220, 220, 0.7);
    border-bottom:11px solid rgba(220, 220, 220, 0.7);
    margin-right: 3px;
}

.partner-user{
  color: white;
  display: inline-block;
  height: 40px;
  width: 40px;
  background: rgba(220, 220, 220, 0.7);
  text-align: center;
  float: left;
  padding-top: 2.5px;
  padding: 3px;
  text-shadow: 0px 1px 5px rgba(80, 80, 80, 0.3);
}
.partner-user a{
  color: white;
}
.partner-user a:hover{
  color: #1E9600;
}
.partner-user::after {
  content: "";
  display: none;
  width: 0;
  height: 0;
  position: relative;
  top: -35px;
  left: 37px;
  border-width: 37.5px 22px 0px 0px;
  border-style:  solid solid none;
  border-color: rgba(220, 220, 220, 0.7) transparent transparent ;
}
.partner-data{
  float: left;
  display: inline-block;
  height: 40px;
  width: 50%;
  background: rgba(220, 220, 220, 0.7);
}
.partner-HP{
  height: 15px;
  width: 90%;
  float: left;
  margin: auto;
  background: transparent;
  margin-top: 12.5px;
  box-shadow: 1px 1px 5px #fff;
  border: 1px solid rgba(255,255,255,0.5);
  overflow: hidden;
  transform: skewX(-30deg);
  margin-left: 10px;
}
.HP-fill{
  height: 100%;
  width: 90%;
  float: left;
  background: transparent;
  border-left: 2px solid rgba(80,80,80,0.3);
  border-top: 2px solid rgba(80,80,80,0.3);
  border-bottom: 2px solid rgba(80,80,80,0.3);
  border-right: 5px solid rgba(255,255,255,0.3);
}
.HP-fill-in{
  height: 100%;
  width: 100%;
  float: left;
  text-align: center;
}
.HP-fill-in span{
  display: none;
  position: relative;
  color: white;
  font-size: 16px;
  top: -5px;
}
.master-HP:hover .HP-fill-in span {
  display: block;
}
.partner-HP:hover .HP-fill-in span {
  display: block;
}
.partner-level{
  display: none;
  position: relative;
  float:right;
  text-align: center;
  top: -20px;
  width: 33%;
  height: 30px;
  font-size: 14px;
  left: -2%;
  color: white;
  background: rgba(200, 200, 200, 0.9);
  border-radius: 3px;
  border: 3px solid rgba(80,80,80,0.3);
}
.partner-level span{
  margin-inline: 2px;
  text-shadow: 0px 1px 5px rgba(80, 80, 80, 0.8);
}

.HP-health{
background: #1E9600;
background: -webkit-linear-gradient(to right, #FF0000,#ffa800, #FFF200, #1E9600);
background: linear-gradient(to right, #FF0000,#ffa800, #FFF200, #1E9600);
;
}
.HP-warning{
  background: #ffa800;
  background: -webkit-linear-gradient(to right, #ffa800, #FFF200);
  background: linear-gradient(to right,#ffa800, #FFF200);
}
.HP-danger{
  background: #ffa800;
  background: -webkit-linear-gradient(to right, #FF0000, #ffa800);
  background: linear-gradient(to right, #FF0000, #ffa800);
}
.partner-item:hover{
  margin-top: 15px;
  margin-bottom: 10px;
}

.partner-item:hover .partner-user::after {
  display: block;
}

.partner-item:hover .partner-data{
  height: 40px;
  width: 80%;
  margin-left: 10px;
  background: rgba(220, 220, 220, 0.7);
  transform: skewX(-30deg);
}

.partner-item:hover .partner-level{
  display: block;
}

.partner-item:hover .partner-HP{
  height: 25px;
  width: 95%;
  margin-top: 6px;
  transform: none;
  margin-left: 2px;
}
.active-SAO-ranklist{
  display: block!important;
}
.active-SAO-ranklist .HP-fill-in{
  animation: HPfill 1s linear alternate;
}
@keyframes HPfill {
  from{
    width: 0;
  }
  to{
    width: 100%;
  }
}
